package cate.game.train.hero.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBTrain;
import cate.game.role.bag.hero.Hero;
import easy.java.dev.note.NoteField;

@ClientMsg(title = "英雄重生 の 返回")
public class HeroRebornResp implements MsgOutput {
    @NoteField(value = "英雄唯一ID")
    public String uid;

    @NoteField(value = "英雄")
    public Hero hero;

    public HeroRebornResp(){}

    public HeroRebornResp(String uid, Hero hero) {
        this.uid = uid;
        this.hero = hero;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBTrain.HERO_REBORN_RESP;
    }
}
